<template>
  <div class="home-box flex-center">
    <p>首页</p>
  </div>
  <Chat></Chat>
  <div style="position: fixed;top: 50px;left: 100px;">
    <img v-for="(item,index) in fileList" :key="index" :src="item " alt="">
  </div>
</template>

<script setup lang="ts">
import Chat from '@/views/chat/index.vue';

const fileList: string[] = []
const files = import.meta.glob('@/assets/emoji/emoji_*.png')
for (const item in files) {
  fileList.push(item)
}

</script>

<style scoped lang="scss">
@import './index.scss';
</style>